using Identity.Domain.Aggregates;
using Microsoft.AspNetCore.Identity;

namespace Identity.Infrastructure.Entities
{
    public class ApplicationRole : IdentityRole<Guid>
    {
        public string? Description { get; set; }
        public bool Status { get; set; }=false;
        public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
        public ICollection<UserRoleEntity> UserRoles { get; set; } = new List<UserRoleEntity>();
        public ICollection<RolePermissionEntity> RolePermissions { get; set; } = new List<RolePermissionEntity>();
       
    }
}